package com.sxyjhh.utils;

import java.util.UUID;

public class IdGenerator {

	public static String createNewId()
	{
		return UUID.randomUUID().toString().replaceAll("-", "");
	}

	public static String create16Id(){
		String id=UUID.randomUUID().toString().replaceAll("-", "");
		return id.substring(0, 16);
	}
}
